package com.chinaunicom.bean.replaced;

import org.springframework.beans.factory.support.MethodReplacer;

import java.lang.reflect.Method;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2021/11/19 9:18
 * Description:
 */
public class TestMethodReplacer implements MethodReplacer {
	@Override
	public Object reimplement(Object obj, Method method, Object[] args) throws Throwable {
		System.out.println("替换了原来的方法");
		return null;
	}
}
